public class TestDriver {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		Vector a = new Vector(new Point(1, 2, -3));
		Vector b = new Vector(new Point(-1, 2, -2));
		a.setName('a');
		b.setName('b');
		System.out.println(a);
		System.out.println();
		System.out.println(b);
		System.out.println();
		System.out.println("ScalarProduct: a * b = " + a.calcScalarProduct(b));
		System.out.println();

		Vector q = new Vector(new Point(2, 1, 1));
		Vector r = new Vector(new Point(4, 5, 4));
		q.setName('q');
		r.setName('r');
		System.out.println(q);
		System.out.println();
		System.out.println(r);
		System.out.println();
		System.out.println("CrossProduct: q x r = t");
		Vector t = q.calcCrossProduct(r);
		t.setName('t');
		System.out.println(t);
		System.out.println();

		Vector z = new Vector(45, 54.7, 6.9282);
		z.setName('z');
		System.out.println(z);
		System.out.println("z Length: " + z.getLength());
		System.out.println();

	}

}
